/*
package com.xxl.job.admin.service.impl;

import com.xxl.job.admin.core.model.JobTimingStrategy;
import com.xxl.job.admin.dao.JobTimingStrategyDao;
import com.xxl.job.admin.service.JobTimingStrategyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

*/
/**
 * @author songsong
 * @version 1.0
 * @date 2022/11/28 10:38
 **//*

@Service
public class JobTimingStrategyServiceImpl  implements JobTimingStrategyService {

    @Autowired
    JobTimingStrategyDao jobTimingStrategyDao;
    @Override
    public Page<JobTimingStrategy> findListByPage(JobTimingStrategy jobTimingStrategy, Integer page, Integer rows) {
        QueryWrapper<JobTimingStrategy> queryWrapper = new QueryWrapper<>();
        if (jobTimingStrategy != null) {
            queryWrapper.orderByDesc("edit_time");
            queryWrapper.like("QUARTZ_DESCRIPTION", jobTimingStrategy.getQuartzDescription());
        }
        Page<JobTimingStrategy> result = jobTimingStrategyDao.selectPage(new Page<>(page, rows), queryWrapper);
        return result;
    }
}
*/
